package com.cloudcms.web.entity;
/**
 * @author guosen
 * @date 2018/06/15
 */
public abstract class PageVo {
	private int pageno;
	private int pagesize;
	private int startindex;

	public int getStartindex() {
		return (pageno-1)*pagesize;
	}

	public void setStartindex(int startindex) {
		this.startindex = startindex;
	}

	public int getPageno() {
		return pageno;
	}

	public void setPageno(int pageno) {
		this.pageno = pageno;
	}

	public int getPagesize() {
		return pagesize;
	}

	public void setPagesize(int pagesize) {
		this.pagesize = pagesize;
	}
}
